-- BP 7.1.6 content: ModelClass syschar: 3 persistence-version: 7.1.6

INSERT INTO O_OBJ
	VALUES ("3cdb93af-d8ac-4b1a-b867-08fe00c83b00",
	'Supertype',
	113,
	'SUP',
	'A supertype represents a partitioning of the set associated with a specialized 
object. The supertype isn''t a subset of the object, but can collect a subset of 
attributes that are shared by the subsets formed by the supertype''s 
partitioning.
    The representation of the metamodel supertype on the object model is the 
part of the supertype/subtype relationship attached to the supertype object, 
not the supertype object itself.
    The identifier for the supertype is the name of the graphical relationship, 
that denotes the subtyping. i.e., the relationship with the bar across it in 
the Shlaer-Mellor notation, or the relationship with the triangle on the end in 
the UML notation.',
	"00000000-0000-0000-0000-000000000000");
INSERT INTO O_TFR
	VALUES ("d9168abb-29ba-4ad9-a978-b36a079f6490",
	"3cdb93af-d8ac-4b1a-b867-08fe00c83b00",
	'hasSubtype',
	'Determines if the named subtype is part of this supertype''s hierarchy.',
	"ba5eda7a-def5-0000-0000-000000000001",
	1,
	'rc = false;
select any prp related by self->PRP[R122] where selected.name == param.subtype;
if (not empty prp)
  rc = true;
else
  select many sups related by self->PRP[R122]->SUP[R114];
  for each sup in sups
    rc = sup.hasSubtype( subtype:param.subtype );
    if (rc)
      break;
    end if;
  end for;
end if;
return rc;',
	1,
	'',
	"00000000-0000-0000-0000-000000000000",
	0);
INSERT INTO O_TPARM
	VALUES ("2e87c237-9bfd-4b3f-ba7b-3352fc3b947c",
	"d9168abb-29ba-4ad9-a978-b36a079f6490",
	'subtype',
	"ba5eda7a-def5-0000-0000-000000000004",
	0,
	'',
	"00000000-0000-0000-0000-000000000000",
	'The name of the subtype being tested to be in hierarchy.');
INSERT INTO O_NBATTR
	VALUES ("5ac93289-840b-43f5-b4e7-be3f5236c276",
	"3cdb93af-d8ac-4b1a-b867-08fe00c83b00");
INSERT INTO O_BATTR
	VALUES ("5ac93289-840b-43f5-b4e7-be3f5236c276",
	"3cdb93af-d8ac-4b1a-b867-08fe00c83b00");
INSERT INTO O_ATTR
	VALUES ("5ac93289-840b-43f5-b4e7-be3f5236c276",
	"3cdb93af-d8ac-4b1a-b867-08fe00c83b00",
	"00000000-0000-0000-0000-000000000000",
	'id',
	'',
	'',
	'id',
	0,
	"ba5eda7a-def5-0000-0000-000000000004",
	'',
	'');
INSERT INTO O_ID
	VALUES (0,
	"3cdb93af-d8ac-4b1a-b867-08fe00c83b00");
INSERT INTO O_OIDA
	VALUES ("5ac93289-840b-43f5-b4e7-be3f5236c276",
	"3cdb93af-d8ac-4b1a-b867-08fe00c83b00",
	0,
	'id');
INSERT INTO O_ID
	VALUES (1,
	"3cdb93af-d8ac-4b1a-b867-08fe00c83b00");
INSERT INTO O_ID
	VALUES (2,
	"3cdb93af-d8ac-4b1a-b867-08fe00c83b00");
INSERT INTO PE_PE
	VALUES ("3cdb93af-d8ac-4b1a-b867-08fe00c83b00",
	1,
	"f9697c43-84ee-4136-9c00-93842878f3b4",
	"00000000-0000-0000-0000-000000000000",
	4);
INSERT INTO EP_PKG_PROXY
	VALUES ("f9697c43-84ee-4136-9c00-93842878f3b4",
	"00000000-0000-0000-0000-000000000000",
	"c8b88000-dddc-4206-8410-2f69b8f86b67",
	'Object',
	'The subsystem of the metamodel concerning objects, instances, and attributes.',
	100,
	'../Object.xtuml');
